projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83195a1
)
(cp-make-coding-system): Deal with
author
Dave Love
<fx@gnu.org>
Tue, 26 Nov 2002 18:17:16 +0000
(18:17 +0000)
committer
Dave Love
<fx@gnu.org>
Tue, 26 Nov 2002 18:17:16 +0000
(18:17 +0000)
unencodable characters.
lisp/international/code-pages.el
patch
|
blob
|
history
diff --git
a/lisp/international/code-pages.el
b/lisp/international/code-pages.el
index f7609659e438d588277ed484f97df01e878b2395..33975a6eb2f228be86d0fccb3837501f705efe48 100644
(file)
--- a/
lisp/international/code-pages.el
+++ b/
lisp/international/code-pages.el
@@
-185,6
+185,9
@@
corresponding args of `make-coding-system'. If MNEMONIC isn't given,
((loop
(read-multibyte-character r0 r1)
(translate-character ,encoder r0 r1)
+ (if (r0 != ,(charset-id 'eight-bit-graphic))
+ (if (r0 != ,(charset-id 'eight-bit-control))
+ (r1 = ??)))
(write-repeat r1)))))))
`(let ((translation-table (cp-make-translation-table ,v))
(codes (cp-valid-codes ,v)))